package pojo;

import org.w3c.dom.Document;
import org.w3c.dom.Element;

public class NguoiDungPOJO {
	private int id;
	private String tenDangNhap;
	private String matKhau;
	private String deviceID;
	public String getTenDangNhap() {
		return tenDangNhap;
	}
	public void setTenDangNhap(String tenDangNhap) {
		this.tenDangNhap = tenDangNhap;
	}
	public String getMatKhau() {
		return matKhau;
	}
	public void setMatKhau(String matKhau) {
		this.matKhau = matKhau;
	}
	public String getDeviceID() {
		return deviceID;
	}
	public void setDeviceID(String deviceID) {
		this.deviceID = deviceID;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Element createContactXMLElement(Document doc){
		Element element=doc.createElement("NguoiDung");
		element.setAttribute("TenDangNhap", tenDangNhap);
		return element;
	}
}
